import sys
from PyQt5.QtWidgets import QApplication, QLabel
from PyQt5.QtGui import QPixmap
from PyQt5.QtCore import QFile
import resources_rc  # 引入编译后的资源文件

app = QApplication(sys.argv)

# 使用嵌入的图片资源
label = QLabel()
pixmap = QPixmap(":/images/images/logo.png")
label.setPixmap(pixmap)
label.show()

sys.exit(app.exec_())
